// 学生信息数据传输对象
package org.example.backend.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

import java.sql.Date;

@Getter
@Setter
public class StudentDto {
    private Long id;

    @NotBlank(message = "学号不能为空")
    private String studentNumber;

    @NotBlank(message = "姓名不能为空")
    private String name;

    private Integer gender;

    private Date birthDate;

    @NotBlank(message = "专业不能为空")
    private String major;

    @NotBlank(message = "年级不能为空")
    private String grade;

    @NotBlank(message = "班级不能为空")
    private String className;

    private String avatar;

    private String resume;

    private String phone;

    private String email;
}
